package server

import (
	"context"

	"github.com/wzh200x/hyperNexus/hyperNexusProtocol/commonProtocol"
)

// GateServerOperateImp servant implementation
type GateServerOperateImp struct {
}

// Init servant init
func (imp *GateServerOperateImp) Init() error {
	//initialize servant here:
	//...
	return nil
}

// Destroy servant destroy
func (imp *GateServerOperateImp) Destroy() {
	//destroy servant here:
	//...
}

func (imp *GateServerOperateImp) ClientCallWorldServer(ctx context.Context, input commonProtocol.ClientCallWorldServerRequest) (output commonProtocol.ClientCallWorldServerResponse, err error) {
	//Doing something in your function
	//...
	return output, nil
}
